Socket
Socket
Sign inDemoInstall

lodash.isobject

Package Overview
Dependencies
0
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lodash.isobject

The modern build of lodash’s `_.isObject` as a module.


Version published
Weekly downloads
2.8M
decreased by-18.48%
Maintainers
5
Install size
4.95 kB
Created
Weekly downloads
 

Package description

What is lodash.isobject?

The lodash.isobject npm package is a utility module that provides functionality to check if a value is the type of Object. It is part of the larger Lodash library, which is a comprehensive toolkit of JavaScript utilities that provides consistency, customization, performance, and extras. lodash.isobject specifically helps in determining whether a provided value is an object, which is useful in various data validation and formatting scenarios in JavaScript programming.

What are lodash.isobject's main functionalities?

Object Type Checking

This feature allows developers to check if a given value is an object. It returns true for objects and arrays (since arrays are technically objects in JavaScript), but false for functions, null, and non-object values.

const isObject = require('lodash.isobject');
console.log(isObject({})); // true
console.log(isObject([1, 2, 3])); // true
console.log(isObject(Function)); // false
console.log(isObject(null)); // false

Other packages similar to lodash.isobject

Readme

Source

lodash.isobject v3.0.2

The modern build of lodash’s _.isObject exported as a Node.js/io.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.isobject

In Node.js/io.js:

var isObject = require('lodash.isobject');

See the documentation or package source for more details.

Keywords

FAQs

Last updated on 19 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc